<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>jQuery Mobile Popup Test Suite</title>

	<script src="../../../external/requirejs/require.js"></script>
	<script src="../../../js/requirejs.config.js"></script>
	<script src="../../../js/jquery.tag.inserter.js"></script>
	<script src="../../jquery.setNameSpace.js"></script>
	<script src="../../../tests/jquery.testHelper.js"></script>


	<link rel="stylesheet"  href="../../../css/themes/default/jquery.mobile.css"/>
	<link rel="stylesheet" href="../../../external/qunit.css"/>
	<script src="../../../external/qunit.js"></script>
	<script>
		( function( $, undefined ) {
			// Set the default transition to "fade" if specified in the query
			if ( !!~location.search.indexOf( "setFadeTransition" ) ) {
				$( document ).one( "mobileinit", function() {
					$.mobile.popup.prototype.options.transition = "fade";
				});
			}
		})( jQuery );
	</script>
	<script>
		$.testHelper.asyncLoad([
			[
				"widgets/popup",
			],
			[ "jquery.mobile.init" ],
			[
				"popup_core.js"
			]
		]);
	</script>

	<script src="../../swarminject.js"></script>
</head>
<body>
  <div id="qunit"></div>

  <div data-nstest-role="page" id="start-page">
    <div data-nstest-role="content" id="page-content">
      <div data-nstest-role="popup" id="test-popup">
        <p>This is the test popup</p>
      </div>
			<div data-nstest-role="popup" id="tolerance-test">
				<p>Tolerance test popup</p>
			</div>
    </div>
  </div>
</body>
</html>
